.class Lcom/hyphenate/chat/EMCallConference;
.super Lcom/hyphenate/chat/EMBase;


# instance fields
.field emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;


# direct methods
.method constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/hyphenate/chat/EMBase;-><init>()V

    return-void
.end method

.method constructor <init>(Lcom/hyphenate/chat/adapter/EMACallConference;)V
    .locals 0

    invoke-direct {p0}, Lcom/hyphenate/chat/EMBase;-><init>()V

    iput-object p1, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    return-void
.end method


# virtual methods
.method public close()V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->close()V

    return-void
.end method

.method public getCallId()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->getCallId()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getLocalName()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->getLocalName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getSubscribableStreams()Ljava/util/List;
    .locals 4

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->getSubscribableStreams()Ljava/util/List;

    move-result-object v0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/adapter/EMACallStream;

    new-instance v3, Lcom/hyphenate/chat/EMCallStream;

    invoke-direct {v3, v0}, Lcom/hyphenate/chat/EMCallStream;-><init>(Lcom/hyphenate/chat/adapter/EMACallStream;)V

    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v1
.end method

.method public getSubscribedStreams()Ljava/util/List;
    .locals 4

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->getSubscribedStreams()Ljava/util/List;

    move-result-object v0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/adapter/EMACallStream;

    new-instance v3, Lcom/hyphenate/chat/EMCallStream;

    invoke-direct {v3, v0}, Lcom/hyphenate/chat/EMCallStream;-><init>(Lcom/hyphenate/chat/adapter/EMACallStream;)V

    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v1
.end method

.method public getType()Lcom/hyphenate/chat/EMCallSession$Type;
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->getType()Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    move-result-object v0

    sget-object v1, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->VIDEO:Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    if-ne v0, v1, :cond_0

    sget-object v0, Lcom/hyphenate/chat/EMCallSession$Type;->VIDEO:Lcom/hyphenate/chat/EMCallSession$Type;

    :goto_0
    return-object v0

    :cond_0
    sget-object v1, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->VOICE:Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    if-ne v0, v1, :cond_1

    sget-object v0, Lcom/hyphenate/chat/EMCallSession$Type;->VOICE:Lcom/hyphenate/chat/EMCallSession$Type;

    goto :goto_0

    :cond_1
    sget-object v0, Lcom/hyphenate/chat/EMCallSession$Type;->VOICE:Lcom/hyphenate/chat/EMCallSession$Type;

    goto :goto_0
.end method

.method public leave()V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/EMCallConference;->emaObject:Lcom/hyphenate/chat/adapter/EMACallConference;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMACallConference;->leave()V

    return-void
.end method
